package mvc.model.pojos;

import java.util.Date;

public class CartBean {
    private int cartnumber;
    private int pid;
    private int count;
    private Date lasttime;
    private int flag;
    private int uid;
    private int checked;

    public CartBean(int cartnumber, int pid, int count, Date lasttime, int flag, int uid, int checked) {
        this.cartnumber = cartnumber;
        this.pid = pid;
        this.count = count;
        this.lasttime = lasttime;
        this.flag = flag;
        this.uid = uid;
        this.checked = checked;
    }

    public CartBean() {
    }

    public int getChecked() {
        return checked;
    }

    public void setChecked(int checked) {
        this.checked = checked;
    }

    public int getCartnumber() {
        return cartnumber;
    }

    public void setCartnumber(int cartnumber) {
        this.cartnumber = cartnumber;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
